﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FAD RID: 4013
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueModifierSelectCellCsReq : IMessage<RogueModifierSelectCellCsReq>, IMessage, IEquatable<RogueModifierSelectCellCsReq>, IDeepCloneable<RogueModifierSelectCellCsReq>, IBufferMessage
	{
		// Token: 0x170032D7 RID: 13015
		// (get) Token: 0x0600B3B8 RID: 46008 RVA: 0x001E5518 File Offset: 0x001E3718
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueModifierSelectCellCsReq> Parser
		{
			get
			{
				return RogueModifierSelectCellCsReq._parser;
			}
		}

		// Token: 0x170032D8 RID: 13016
		// (get) Token: 0x0600B3B9 RID: 46009 RVA: 0x001E551F File Offset: 0x001E371F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueModifierSelectCellCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170032D9 RID: 13017
		// (get) Token: 0x0600B3BA RID: 46010 RVA: 0x001E5531 File Offset: 0x001E3731
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueModifierSelectCellCsReq.Descriptor;
			}
		}

		// Token: 0x0600B3BB RID: 46011 RVA: 0x001E5538 File Offset: 0x001E3738
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierSelectCellCsReq()
		{
		}

		// Token: 0x0600B3BC RID: 46012 RVA: 0x001E5540 File Offset: 0x001E3740
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierSelectCellCsReq(RogueModifierSelectCellCsReq other) : this()
		{
			this.cellId_ = other.cellId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B3BD RID: 46013 RVA: 0x001E5565 File Offset: 0x001E3765
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierSelectCellCsReq Clone()
		{
			return new RogueModifierSelectCellCsReq(this);
		}

		// Token: 0x170032DA RID: 13018
		// (get) Token: 0x0600B3BE RID: 46014 RVA: 0x001E556D File Offset: 0x001E376D
		// (set) Token: 0x0600B3BF RID: 46015 RVA: 0x001E5575 File Offset: 0x001E3775
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CellId
		{
			get
			{
				return this.cellId_;
			}
			set
			{
				this.cellId_ = value;
			}
		}

		// Token: 0x0600B3C0 RID: 46016 RVA: 0x001E557E File Offset: 0x001E377E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueModifierSelectCellCsReq);
		}

		// Token: 0x0600B3C1 RID: 46017 RVA: 0x001E558C File Offset: 0x001E378C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueModifierSelectCellCsReq other)
		{
			return other != null && (other == this || (this.CellId == other.CellId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B3C2 RID: 46018 RVA: 0x001E55BC File Offset: 0x001E37BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CellId != 0U)
			{
				num ^= this.CellId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B3C3 RID: 46019 RVA: 0x001E55FB File Offset: 0x001E37FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B3C4 RID: 46020 RVA: 0x001E5603 File Offset: 0x001E3803
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B3C5 RID: 46021 RVA: 0x001E560C File Offset: 0x001E380C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CellId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.CellId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B3C6 RID: 46022 RVA: 0x001E5640 File Offset: 0x001E3840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CellId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CellId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B3C7 RID: 46023 RVA: 0x001E567E File Offset: 0x001E387E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueModifierSelectCellCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CellId != 0U)
			{
				this.CellId = other.CellId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B3C8 RID: 46024 RVA: 0x001E56AF File Offset: 0x001E38AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B3C9 RID: 46025 RVA: 0x001E56B8 File Offset: 0x001E38B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.CellId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040048A6 RID: 18598
		private static readonly MessageParser<RogueModifierSelectCellCsReq> _parser = new MessageParser<RogueModifierSelectCellCsReq>(() => new RogueModifierSelectCellCsReq());

		// Token: 0x040048A7 RID: 18599
		private UnknownFieldSet _unknownFields;

		// Token: 0x040048A8 RID: 18600
		public const int CellIdFieldNumber = 8;

		// Token: 0x040048A9 RID: 18601
		private uint cellId_;
	}
}
